package service.impl.v2;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.v2.MemberLevelItemVOMapper;
import model.MemberLevelItemVO;
import service.v2.MemberLevelItemService;
@Service
public class MemberLevelItemServiceImpl implements MemberLevelItemService {
	
	@Autowired
	private MemberLevelItemVOMapper dao;

	public List<MemberLevelItemVO> selectenjoyPrivilege(String level) {
		return dao.selectenjoyPrivilege(level);
	}

	public List<MemberLevelItemVO> selectadvancePrivilege(String level, String member_id) {
		return dao.selectadvancePrivilege(level,member_id);
	}

	@Override
	public int compareLevel(String level, String exp_level) {
		return dao.compareLevel(level, exp_level);
	}

}
